﻿using System;
using System.Collections.Generic;

namespace innovations.util.collections
{
    public class Node<T>
    {
        public Node(T value, string title)
        {
            this.Value = value;
            this.Next = null;
            this.Previous = null;
            this.Title = title;
        }

        public override string ToString()
        {
            return Title;
        }
        public T Value { get; set; }
        public Node<T> Next { get; set; }
        public Node<T> Previous { get; set; }
        public string Title { get; set; }
    }
}
